package org.xsk.mall.oms.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.xsk.mall.oms.dao.entity.OmsCartItemDO;
import org.xsk.mall.oms.dao.manager.OmsCardItemManager;


/**
 * description: shopping card controller
 * <p>
 * date: 2021/5/12 17:29
 * author: x-one
 */
@RestController
public class OmsCardItemController {

    @Autowired
    private OmsCardItemManager omsCardItemManager;

   @RequestMapping(value = "/getCard")
   public Object getCard(){
       return omsCardItemManager.list();
   }

    @RequestMapping("/get")
    public String get(){
        return "hello world";
    }
}
